package com.firemoss.atonement.changewatcher.valuecomparison
{
	public class DateEqualityComparitor extends AbstractComparitor implements IValueComparitor
	{
		public function DateEqualityComparitor()
		{
		}
		
		public function compare(originalValue:*, newValue:*):*
		{
			if ( originalValue is Date && newValue is Date )
			{
				if ( originalValue != null && newValue != null && originalValue.time != newValue.time )
				{
					return newValue
				}
				else
				{
					return null
				}
			}
			
			return null
		}
	}
}